/**
 * 
 */
package com.orange.modules.entity.school;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 机构表
 * 
 * @author gaogs
 *
 * 2016-10-16
 */
@Table(name = "t_auth_school")
@Entity
public class AuthSchool {
	
	private String pid ;//
	private String type ;//0：学校  
	private String state ;//0:初始化状态  即 信息填写中   1：提交申请
	private String schoolName ;//机构名称
	private String account ;//机构代码
	private String password ;//密码
	private String major ;//专业  0:学前教育  1:小学教育 2:中学教育
	private String review ;//是否现场考察  0：不考察  1：考察 
	private String loginTime ;//登录时间
	private String updateTime ;//
	private String createTime ;//
	private String science;//理科               0:未提交   1：提交
	private String liberalarts;//文科      0:未提交   1：提交
	private String wholeDeclaration;//整体申报      0:未提交   1：提交
	private String fpexpert;//是否分配了现场考察专家组   0：未分配    1：已分配     2：考察结束
//	private String selfEvaluationFilepath; //自评报告路径
//
//	private String selfEvaluationFilename; //自评报告名称
	
	
	private String majorName; //专业名
	private String groupState;//组状态
	private String techingSubject ;//教学主题
	private String groupId;
	private String isfollow;
	
	private String flag; // 0:未绑定  1：已绑定   材料评审专家
	
	
	/*@Column(name = "s_self_evaluation_filepath")
	public String getSelfEvaluationFilepath() {
		return selfEvaluationFilepath;
	}
	@Column(name = "s_self_evaluation_filename")
	public String getSelfEvaluationFilename() {
		return selfEvaluationFilename;
	}*/
	@Column(name = "s_science",length=255)
	public String getScience() {
		return science;
	}
	@Column(name = "s_liberalarts",length=255)
	public String getLiberalarts() {
		return liberalarts;
	}
	@Column(name = "s_whole_declaration",length=255)
	public String getWholeDeclaration() {
		return wholeDeclaration;
	}
	@Transient
	public String getMajorName() {
		return majorName;
	}
	public void setScience(String science) {
		this.science = science;
	}
	public void setLiberalarts(String liberalarts) {
		this.liberalarts = liberalarts;
	}
	public void setWholeDeclaration(String wholeDeclaration) {
		this.wholeDeclaration = wholeDeclaration;
	}
	public void setMajorName(String majorName) {
		this.majorName = majorName;
	}
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name = "p_id")
	public String getPid() {
		return pid;
	}
	@Column(name = "s_type",length=1)
	public String getType() {
		return type;
	}
	@Column(name = "s_state",length=1)
	public String getState() {
		return state;
	}
	@Column(name = "s_school_name",length=255)
	public String getSchoolName() {
		return schoolName;
	}
	@Column(name = "s_account",length=255)
	public String getAccount() {
		return account;
	}
	@Column(name = "s_password",length=255)
	public String getPassword() {
		return password;
	}
	@Column(name = "s_major",length=255)
	public String getMajor() {
		return major;
	}
	@Column(name = "s_review",length=10)
	public String getReview() {
		return review;
	}
	@Column(name = "s_login_time",length=20)
	public String getLoginTime() {
		return loginTime;
	}
	@Column(name = "s_update_time",length=20)
	public String getUpdateTime() {
		return updateTime;
	}
	@Column(name = "s_create_time",length=20)
	public String getCreateTime() {
		return createTime;
	}
	@Column(name = "s_fpexpert",length=20)
	public String getFpexpert() {
		return fpexpert;
	}
	public void setFpexpert(String fpexpert) {
		this.fpexpert = fpexpert;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public void setType(String type) {
		this.type = type;
	}
	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public void setMajor(String major) {
		this.major = major;
	}
	public void setReview(String review) {
		this.review = review;
	}
	public void setLoginTime(String loginTime) {
		this.loginTime = loginTime;
	}
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public void setState(String state) {
		this.state = state;
	}
	@Transient
	public String getGroupState() {
		return groupState;
	}
	@Transient
	public String getTechingSubject() {
		return techingSubject;
	}
	public void setGroupState(String groupState) {
		this.groupState = groupState;
	}
	public void setTechingSubject(String techingSubject) {
		this.techingSubject = techingSubject;
	}
	@Transient
	public String getFlag() {
		return flag;
	}
	public void setFlag(String flag) {
		this.flag = flag;
	}
	/*public void setSelfEvaluationFilepath(String selfEvaluationFilepath) {
		this.selfEvaluationFilepath = selfEvaluationFilepath;
	}

	public void setSelfEvaluationFilename(String selfEvaluationFilename) {
		this.selfEvaluationFilename = selfEvaluationFilename;
	}*/
	@Transient
	public String getGroupId() {
		return groupId;
	}
	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}
	@Transient
	public String getIsfollow() {
		return isfollow;
	}
	public void setIsfollow(String isfollow) {
		this.isfollow = isfollow;
	}
	
}
